<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8" %>
<html>
<head></head>
<body>
	<h1>在线人:<%=session.getId() %></h1><!--在js里可直接用session-->
	<h1>在线人数：<%=application.getAttribute("count") %></h1><!--获取上下文-->

</body>

</html>